#include "MessageLogEntry.h"


MessageLogEntry::MessageLogEntry(Agent* sender, time_t timestamp, std::string senderType, std::string message, bool display)
{
	this->timestamp = timestamp;
	this->senderType = senderType;
	this->message = message;
	this->sender = sender;
	willBeDisplayed = display;
	isAlreadyDisplayed = false;
}

time_t MessageLogEntry::getTimestamp()
{
	return timestamp;
}

std::string MessageLogEntry::getSenderType()
{
	return senderType;
}

std::string MessageLogEntry::getMessage()
{
	return message;
}

Agent* MessageLogEntry::getSender()
{
	return sender;
}

